<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include} :: header"></head>
<link href="css/bootstrap.min.css?v=3.3.6" th:href="@{/css/bootstrap.min.css?v=3.3.6}" rel="stylesheet">
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${fitting.id}" type="hidden">
                        <input id="terminalId" name="terminalId" th:value="${fitting.terminalId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">保养点：</label>
                            <div class="col-sm-8">
                                <input id="deviceFittingName" name="deviceFittingName" th:value="${fitting.deviceFittingName}" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">使用润滑剂：</label>
                            <div class="col-sm-8">
                                <input id="healthRunhuaji" name="healthRunhuaji" th:value="${fitting.healthRunhuaji}" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">保养周期：</label>
                            <div class="col-sm-8">
                                <div class="layui-inline">
                                    <div class="layui-input-inline" style="width: 150px;">
                                        <input type="number" id="checkCount" name="checkCount" th:value="${fitting.healthCount}" placeholder="周期次数" autocomplete="off" class="layui-input">
                                    </div>
                                    <div class="layui-input-inline" style="width: 150px;">
                                        <select data-placeholder="周期单位" name="healthCountUnit" id="healthCountUnit" class="form-control chosen-select"
                                                th:value="${fitting.healthCountUnit}"></select>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">备注信息：</label>
                            <div class="col-sm-8">
                                <input id="remark" name="remark" th:value="${fitting.remark}" class="form-control" type="text">
                            </div>
                        </div>
                        
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/terminal/fitting/detail.js}"></script>
</body>
</html>
